package com.jlkf.dao;

import java.util.List;
import java.util.Map;

import com.jlkf.pojo.OrderChargeDetail;
import com.jlkf.view.OAMonthlyIncomeOfDrivers;
import com.jlkf.view.WeekNoSettlement;
import com.jlkf.view.OA.OANoSettlementDetail;

public interface OrderChargeDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(OrderChargeDetail record);

    int insertSelective(OrderChargeDetail record);

    OrderChargeDetail selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderChargeDetail record);

    int updateByPrimaryKey(OrderChargeDetail record);
    
    List<OrderChargeDetail> getOrderChargeDetail(Map<String,Object> map);
    
    OAMonthlyIncomeOfDrivers monthlyStatistics(Map<String,Object> map);
    
    List<Long> monthlyStatisticsOrderId(Map<String,Object> map);
    //查询某个司机的某一个时间段的收费
    WeekNoSettlement getOANoSettlement(Map<String,Object> map);
    //未出账订单详情
    List<OANoSettlementDetail> getOANoSettlementDetail(Map<String,Object> map);
    /**
     * 获取订单信息
     * @param orderId
     * @return
     */
    OrderChargeDetail getOrderChargeDetailPart(Long orderId);
}